package ck.android.englishschool.thread;

import java.util.ArrayList;
import java.util.HashMap;

import org.apache.http.NameValuePair;

import android.content.Context;
import ck.android.englishschool.AppStatus;

public class BaseThread extends Thread{
	protected String url;
	protected ArrayList<NameValuePair> post;
	protected Context context;
	protected AppStatus appStatus;
	protected HashMap<String, String> searchMap;
	protected boolean pageState;
	protected ThreadCallBack callBack;
	
	public interface ThreadCallBack{
		public void threadCompleted(boolean isNetWordConnected, Object result
				, String message);
		public void threadError(String message);
	}
}
